<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    html,
    body {
      display: flex;
      width: 100%;
      height: 100%;
    }

    .layout {
      display: flex;
      flex: 1;
      flex-direction: column;
      background-color: #fff;
    }

    header {
      height: 60px;
      background-color: blue;
    }

    aside {
      background-color: pink;
      width: 200px;
      position: relative;
    }

    .content {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .main {
      display: flex;
      flex: 1;
    }

    .content-main {
      flex: 1;
    }

    footer {
      height: 40px;
      background-color: aqua;
    }

    .scroll-hidden {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      overflow: hidden;
    }
    .scroll-main {
      position: absolute;
      top: 0;
      left: 0;
      right: -20px;
      bottom: 0;
      overflow: auto;
    }
    .menu {
      height: 1366px;
    }
  </style>
</head>

<body>
  <div class="layout">
    <header>头部</header>
    <div class="main">
      <aside>
        <div class="scroll-hidden">
          <div class="scroll-main">
            <div class="menu">侧边菜单栏侧边菜单栏侧边菜单栏侧边菜单栏侧边菜单栏</div>
          </div>
        </div>
      </aside>
      <div class="content">
        <div class="content-main">
          页面主区域
        </div>
        <footer>尾部</footer>
      </div>
    </div>
  </div>
</body>

</html>